<!--
 * @Author: your name
 * @Date: 2021-08-04 16:21:34
 * @LastEditTime: 2021-08-04 19:03:13
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\3-html&css\day03\5-textarea.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>textarea</title>
</head>
<body>
    <div>
        <form action="" method="GET">
            <!-- readonly 只读，但是值可以提交 -->
            <textarea readonly name="text" id="text" cols="3" rows="3">
              请输入文本内容  
            </textarea>
            <br/>
            <input type="submit" value="提交">
        </form>
    </div>
</body>
</html>